package com.ubxtech.web.condition;

import org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations;
import org.springframework.context.annotation.Configuration;

/**
 * https://dandelioncloud.cn/article/details/1606186646762635265
 * @author Victor.Xiao
 * @since 2023-11-15 20:47
 **/
@Configuration
public class ApiVersionMvcConfig implements WebMvcRegistrations {

    @Override
    public CustomRequestMappingHandlerMapping getRequestMappingHandlerMapping() {
        return new CustomRequestMappingHandlerMapping();
    }
}
